cmake_minimum_required(VERSION 3.24)
project(gl_python)
set(CMAKE_CXX_STANDARD 17)
#find_package(OpenGL REQUIRED)
link_libraries(GL GLEW glut GLU SOIL)
add_executable(gl_python
        main.cpp gl/Application.cpp lab/model.h gl/pv_png/pvpngreader.cpp)

configure_file(res/field_bg.png res/field_bg.png COPYONLY)
configure_file(res/bricks.png res/bricks.png COPYONLY)
configure_file(res/bricks2.png res/bricks2.png COPYONLY)
configure_file(res/foods/pig00.png res/foods/pig00.png COPYONLY)
configure_file(res/foods/rabbit00.png res/foods/rabbit00.png COPYONLY)
configure_file(res/foods/bear00.png res/foods/bear00.png COPYONLY)
configure_file(res/snake/head.png res/snake/head.png COPYONLY)
configure_file(res/snake/tail.png res/snake/tail.png COPYONLY)
configure_file(res/snake/body.png res/snake/body.png COPYONLY)
configure_file(res/snake/corner.png res/snake/corner.png COPYONLY)
configure_file(res/hedgehog.stl res/hedgehog.stl COPYONLY)
configure_file(res/tyrunt_stl.stl res/tyrunt_stl.stl COPYONLY)
